package com.project.bean;

public class UserBean {
    //    id
    private Integer id;
    //    用户名
    private String userName;
    //    密码
    private String passWord = "123";
    //    名字
    private String name;
    //    用户等级
    private String grade;

    public UserBean() {
    }

    public UserBean(String userName, String name, String grade) {
        this.userName = userName;
        this.name = name;
        this.grade = grade;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", name='" + name + '\'' +
                ", grade='" + grade + '\'' +
                '}' + "\n";
    }
}
